package com.gomtel.smartdevice.ui.activity;

import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import com.gomtel.smartdevice.R;
import com.gomtel.smartdevice.base.WatchAppBaseActivity;
import com.gomtel.smartdevice.moudle.event.CommonEvent;

import butterknife.BindView;

/**
 * Created by Administrator on 2018/5/18 0018.
 * 密码修改
 */

public class ChagePassWordActivity extends WatchAppBaseActivity implements View.OnClickListener {

    @BindView(R.id.img_btn_black)
    View img_btn_black;
    @BindView(R.id.old_password)
    EditText old_password;
    @BindView(R.id.new_password)
    EditText new_password;
    @BindView(R.id.confirm_password)
    EditText confirm_password;
    @BindView(R.id.password_check)
    TextView password_check;
    @BindView(R.id.commit)
    TextView commit;

    @Override
    protected void registerEvent(CommonEvent commonevent) {

    }

    @Override
    protected void initInject() {
        getActivityComponent().inject(this);
    }

    @Override
    protected int getLayout() {
        return R.layout.activity_chage_pass_word;
    }

    @Override
    protected void initClass() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initListener() {
        img_btn_black.setOnClickListener(this);
        commit.setOnClickListener(this);
        password_check.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.img_btn_black:
                finish();
                break;
            case R.id.commit:

                break;
            case R.id.password_check:

                break;
        }
    }

}
